﻿using FlyingHat.Common.Global;
using FlyingHat.Model.Models;
using FlyingHat.Model.Models.Global;

namespace FlyingHat.Service.IService
{
    public interface IBookshelfService : IDependency
    {
        Task<List<BookshelfModel>> GetList(long libraryId);
        Task<IReturnModel> GetList(long libraryId, string? shelfName, int page, int limit);
        Task<IReturnModel> AddOrUpdate(BookshelfModel model);
        Task<IReturnModel> Delete(long id);
        Task<List<SelectModel>> GetSelect(long libraryId);
    }
}
